package com.deep.deepenterpise.common.gas;

import lombok.Getter;

/**
 * @Auth xyz
 * @Desc //TODO 身份验证类型枚举
 * @Time 04:36 2024/5/14
 */
@Getter
public enum DrGasAuthEnum {
    REDIS("redis"),

    ;
    private final String type;


    DrGasAuthEnum(String type) {
        this.type = type;
    }

    public boolean compare(String type) {
        return this.type.equals(type);
    }

    public boolean compare(DrGasAuthEnum drGpsAuthEnum) {
        return this.compare(drGpsAuthEnum.type);
    }

}
